<div class="box_right"><strong>
	<a href="Trang-Chu">KHOÁ HỌC HOT </a>/ 
	<a href="Khuyen-Mai">KHUYẾN MÃI</a>/
	<a href="Khoa-Hoc-Moi">KHÓA HỌC MỚI</a>
	</strong></div>
<div class="sanpham">
<br />
<table cellpadding="0" cellspacing="0" border="1" width="100%">
<tr>
<th colspan="2" width="85%">Thông tin về khoá học</th>
<th width="15%">Thống kê</th>
</tr>
			<?php
			$new_width= 132;
			$new_height= 113;
			?> 
			<? foreach($courses as $course){ ?>
			<?php
			
			$path = $course_image_thumb.h($course->{CUSTOMERS_IMAGE});
			$path = rtrim($_SERVER['DOCUMENT_ROOT'], "/").$path;
			list($width, $height, $type, $attr) = @getimagesize($path);
			if($width>0&&$height>0){
				//$new_height = (int)($new_width*$height/$width);
				$new_width = (int)($new_height*$width/$height);
				//if($new_height>113) $new_height=113;	
			}
			
			?> 
			<tr>
				<td width="20%"> <img src="<?=$course_image_thumb.h($course->{CUSTOMERS_IMAGE})?>" width="<?=$new_width?>" height="<?=$new_height?>" alt="" onclick="go_detail('<?=site_url('Khoa-Hoc')?>/Chi-Tiet/<?=$course->{COURSES_COURSE_ID}?>')" style="cursor:pointer" /></td>
				<td valign="top"><strong><?=h($course->{COURSES_OTHER_INFO})?></strong><br />
				Trung Tâm Đào Tạo <?=h($course->{COURSES_COURSE_NAME})?><br />
                Địa Điểm: <?=h($course->{COURSES_COURSE_DESCRIPTION})?><br />
				Khai Giảng: <?=h($course->{COURSES_COURSE_DESCRIPTION})?><br />
				Thời Lượng: <?=h($course->{COURSES_COURSE_DESCRIPTION})?><br />
				Học Phí: <?=h($course->{COURSES_COURSE_DESCRIPTION})?>
                </td>
				<td>&nbsp;</td>
			</tr>
<? }?>
</table>
</div>